package com.dailycodebuffer.springbootmongodb.collection;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * (Orders)实体类
 *
 * @author makejava
 * @since 2025-01-04 00:23:42
 */
@Data
@Builder
@Document(collection = "orders")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Orders implements Serializable {
    private static final long serialVersionUID = 611772138211386550L;
    @Id
    private Integer id;

    private Integer customerId;

    private String employeeId;

    private Object orderDate;

    private Object arrivalDate;

    private Object shipDate;

    private Integer shipperId;

    private String trackingNumber;

    private Object freight;

    private String contact;

    private String phone;

    private String shipAddress;

    private String shipProvince;

    private String shipCity;

    private String shipRegion;
}

